﻿
namespace MyFloridaHouse.libSvOpenDistricts.PDF
{
    public class PDFPoint
    {
        public double x { get; set; }
        public double y { get; set; }

        public PDFPoint()
        {
            x = 0.0;
            y = 0.0;
        }

        public PDFPoint(PDFPoint cursor)
        {
            x = cursor.x;
            y = cursor.y;
        }

        public PDFPoint(double x, double y)
        {
            this.x = x;
            this.y = y;
        }

        public void AddXYOffset(double offsetX, double offsetY)
        {
            AddX(offsetX);
            AddY(offsetY);
        }

        public void AddXYOffset(double offset)
        {
            AddX(offset);
            AddY(offset);
        }

        public void AddX(double offset)
        {
            x += offset;
        }

        public void AddY(double offset)
        {
            y += offset;
        }

    }
}
